from django.urls import path, include
from rest_framework.routers import DefaultRouter

from .views import *

ro = DefaultRouter()

ro.register(r'block-file', BlockFileModelView)

urlpatterns = [
    path('', include(ro.urls)),
    path('download/', DownloadFileView.as_view(), name="file-download"),
    path("upload/", FileUploadAPIView.as_view(), name="file-upload"),
    path("fast-upload/", FastUploadView.as_view(), name="fast-file-upload"),
]